package com.yuyou.fn.tms.vo;

import com.yuyou.fn.settlement.entity.MainAccount;
import io.swagger.annotations.ApiModelProperty;

import java.math.BigDecimal;

/**
 * Created by lzh on 2019/2/21.
 */
public class StudentAccount {

    @ApiModelProperty("学生ID")
    private Long accStuId;

    @ApiModelProperty("账户余额")
    private BigDecimal accMoney;

    public StudentAccount(MainAccount mainAccount){
        this.setAccStuId(mainAccount.getMainAccountId());
        this.setAccMoney(mainAccount.getBalanceAmount());
    }

    public Long getAccStuId() {
        return accStuId;
    }

    public void setAccStuId(Long accStuId) {
        this.accStuId = accStuId;
    }

    public BigDecimal getAccMoney() {
        return accMoney;
    }

    public void setAccMoney(BigDecimal accMoney) {
        this.accMoney = accMoney;
    }
}
